<?php
/* @var $this PenerimaanTamuController */
/* @var $model PenerimaanTamu */
/* @var $form CActiveForm */
?>

<?php $this->beginWidget('ext.widgets.XPanel', array('width'=>900, 'height'=>130, 'title'=> 'Pegawai')); ?>

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route), 
	'method'=>'get',
)); ?>
    
    <table class="ma-table">
        <tbody>

<tr>
                <td class="labelfield">
                        <?php echo $form->label($model,'no_konfirmasi').':'; ?>
                </td>
                <td>
                        <?php echo CHtml::activeTextField($model,'no_konfirmasi'); ?>
                </td>
                <td class="labelfield">
                        <?php echo $form->label($model,'Tamu.nama').':'; ?>
                </td>
                <td>
                        <?php echo CHtml::activeTextField($Tamu,'nama'); ?>
                </td>
</tr>
<tr>
                <td class="labelfield">
                        <?php echo CHtml::label('Nama Tujuan ', ''); ?>
                </td>
                <td>
                        <?php echo CHtml::activeTextField($Pegawai,'nama'); ?>
                </td>
                <td class="labelfield">
                        <?php echo CHtml::label('Tanggal ', ''); ?>
                </td>
                <td>
                        <?php $this->widget(
                                                'ext.jui.EJuiDateTimePicker',
                                                array(
                                                    'model'     => $model,
                                                    'attribute' => 'tanggal',
                                                    'language'=> 'en',//default Yii::app()->language
                                                    'mode'    => 'date',//'datetime' or 'time' ('datetime' default)
                                                    'options'   => array(
                                                        'dateFormat' => 'dd-mm-yy',
                                                        'timeFormat' => 'hh:mm:tt',//'hh:mm tt' default
                                                    ),
                                                    'htmlOptions'=>array(
                                                        'placeholder'=>'tanggal'
                                                    )
                                                )
                                            );
                        ?>
                </td>
</tr>
	<tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>
		<?php echo CHtml::submitButton('Search', array('class'=>'ax-btn')); ?>
            </td>
	</tr>
        </tbody></table>

<?php $this->endWidget(); ?>
<?php $this->endWidget(); ?>

